package com.lznAdmin.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lznAdmin.system.entity.SysRole;
import com.lznAdmin.system.mapper.SysRoleMapper;
import com.lznAdmin.system.service.SysRoleService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: lzn-manage-parent
 * @description:
 * @author: lzn
 * @create: 2021-09-02 17:07
 **/
@Service
public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> implements SysRoleService {

    @Override
    public List<Long> getPermissionIdByRoleId(Long id) {
        return baseMapper.selectPermissionIdByRoleId(id);
    }


}
